package com.moss.cloud.base.api.model.from;

import com.moss.cloud.common.core.annotation.document.ApiComment;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiComment(value = "公共请求参数", required = true)
public class BaseFrom implements Serializable {
    @NotNull(message = "ID不能为空")
    @ApiComment(value = "ID", required = true)
    private Long id;
}
